walk pensively

Translations
идти задумчиво
She walked pensively through the empty park.
Она задумчиво шла по пустому парку.